Sets our main struct and passes it to the parent class.
Creates a new event controller that will handle key events.
Emitted whenever the input method context filters away a keypress and prevents the @controller receiving it.
Emitted whenever a key is pressed.
Emitted whenever a key is released.
Emitted whenever the state of modifier keys and pointer buttons change.
Forwards the current event of this @controller to a @widget.
Get the main Gtk struct
Gets the key group of the current event of this @controller.
Gets the input method context of the key @controller.
the main Gtk struct as a void*
Sets the input method context of the key @controller.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Returns the event that is currently being handled by the controller.
Returns the device of the event that is currently being handled by the controller.
Returns the modifier state of the event that is currently being handled by the controller.
Returns the timestamp of the event that is currently being handled by the controller.
Gets the name of @controller.
Gets the propagation limit of the event controller.
Gets the propagation phase at which @controller handles events.
Returns the GtkWidget this controller relates to.
Resets the @controller to a clean state.
Sets a name on the controller that can be used for debugging.
Sets the event propagation limit on the event controller.
Sets the propagation phase at which a controller handles events.
GtkEventControllerKey is an event controller that provides access to key events.